<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="css.css">
    </head>
    <body>

    <div id="wrap">
        <div id="buttonGroup">
            <button id="front">前序遍历</button>
            <button id="middle">中序遍历</button>
            <button id="end">后序遍历</button>
        </div>

        <div id="root">
            <div class="second">
                <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
                <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
            </div>
            <div class="second">
                <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
                 <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
            </div>
            <div class="second">
                <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
                 <div class="third">
                    <div class="forth"></div>
                    <div class="forth"></div>
                </div>
            </div>

        </div>
    </div>

    <script type="text/javascript" src="js.js"></script>
    </body>
</html>